package it.trio.monopoly.domain;

import java.util.Random;

public class RealDie implements Die {

	private Random random = new Random();

	private int faceValue = MIN;
	
	/* (non-Javadoc)
	 * @see it.trio.monopoly.domain.Die#getFaceValue()
	 */
	@Override
	public int getFaceValue() {
		return faceValue;
	}

	/* (non-Javadoc)
	 * @see it.trio.monopoly.domain.Die#roll()
	 */
	@Override
	public void roll() {
		// TO DISCUSS
//		random.setSeed(seed)
		faceValue = random.nextInt(MAX) + 1;		
	}

}
